package cn.edu.scau.cmi.dengshixin.domain;

public class Teacher {
	
	private String tea_id;
	private String tea_name;
	private String gendar;
	
	public Teacher() {
		setTeacherId(null);
		setTeacherName(null);
	}
	
	public Teacher(String id, String name) {
		setTeacherId(id);
		setTeacherName(name);
	}

	public String getTeacherId() {
		return tea_id;
	}

	public void setTeacherId(String tea_id) {
		this.tea_id = tea_id;
	}

	public String getTeacherName() {
		return tea_name;
	}

	public void setTeacherName(String tea_name) {
		this.tea_name = tea_name;
	}

	public String toString() {
		return "[工号：" + tea_id + ", 姓名：" + tea_name + "]\n";
	}

	public String getGendar() {
		return gendar;
	}

	public void setGendar(String gendar) {
		this.gendar = gendar;
	}
}
